package com.tj.feige.app;
import android.content.Intent;
import com.tj.feige.app.core.b.g;
import java.util.ArrayList;
import java.util.List;


public class bv implements com.tj.feige.app.core.d.b{
    final /* synthetic */ MainUI a;

    /* JADX INFO: Access modifiers changed from: package-private */
    public bv(MainUI mainUI) {
        this.a = mainUI;
    }

    @Override // com.tj.feige.app.core.d.b
    public void a(g gVar) {
        switch (gVar.b()) {
            case 1:
                this.a.startActivity(new Intent(this.a, FeiGeUserMessageGroupUI.class));
                return;
            case 2:
                this.a.r();
                return;
            case 3:
                a.onMenuOpened(0,null);
                return;
            default:
                return;
        }
    }

    @Override // com.tj.feige.app.core.d.b
    public List a() {
        ArrayList arrayList = new ArrayList();
        //修复底部菜单没有菜单键无法打开的问题
        for (g gVar : new g[]{new g("查看聊天记录", 1), new g("刷新", 2), new g("显示底部菜单", 3)}) {
            arrayList.add(gVar);
        }
        return arrayList;
    }

}
